package com.ck.feign.controller;

import com.ck.feign.service.CkService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @ClassName CkController
 * @Description
 * @Author admin
 * @Date 2019/1/21 17:31
 **/

@RestController
public class CkController {

    @Autowired
    CkService ckService;

    @GetMapping("/consumer")
    public String consumer() {
        return ckService.consumer();
    }
}
